package biz.impl;

import java.util.List;
import java.util.Map;

import dao.RenshidengjiDao;

import entity.Renshidengji;
import entity.Xinchoubiaozhun;
import biz.RenShiDengJiBiz;

public class RenShiDengJiBizImpl implements RenShiDengJiBiz {
	private RenshidengjiDao renshidengjiDao;
	public void addRenshidengji(Renshidengji renshidengji) {
		renshidengjiDao.addRenshidengji(renshidengji);
	}

	public void updateRenshidengji(Renshidengji renshidengji) {
		renshidengjiDao.updateRenshidengji(renshidengji);
	}

	public Renshidengji findOneRenshidengji(Long id) {
		return renshidengjiDao.findOneRenshidengji(id);
	}

	public List<Renshidengji> findAllRenshidengji() {
		return renshidengjiDao.findAllRenshidengji();
	}

	public List<Renshidengji> findRenshidengjiByCondition(Map map,
			Integer pageNo, Integer size) {
		return renshidengjiDao.findRenshidengjiByCondition(map, pageNo, size);
	}

	public void deleteRenshidengji(Long id) {
		renshidengjiDao.deleteRenshidengji(id);
	}

	public void setRenshidengjiDao(RenshidengjiDao renshidengjiDao) {
		this.renshidengjiDao = renshidengjiDao;
	}

	public Xinchoubiaozhun findXinchoubiaozhunById(Long id) {
		return renshidengjiDao.findXinchoubiaozhunById(id);
	}

	public List<Xinchoubiaozhun> findAllXinchoubiaozhuns() {
		return renshidengjiDao.findAllXinchoubiaozhuns();
	}
	
}
